package com.example.service.impl;

import com.example.entity.SysRole;
import com.example.mapper.SysRoleMapper;
import com.example.service.ISysRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 */
@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements ISysRoleService {

    @Autowired
    SysRoleMapper sysRoleMapper;
    @Override
    public List<SysRole> getPage(int pageIndex, int pageSize) {

        return sysRoleMapper.getPage(pageIndex,pageSize);
    }
}
